<html>
<head>
<title>Docs for page BarcodeObject</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">com-tecnick-tcpdf</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_com-tecnick-tcpdf.html" class="menu">class tree: com-tecnick-tcpdf</a> ]
		  [ <a href="../elementindex_com-tecnick-tcpdf.html" class="menu">index: com-tecnick-tcpdf</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_com-tecnick-tcpdf.html">com-tecnick-tcpdf</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../com-tecnick-tcpdf/_barcode---c39object.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---c128aobject.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---i25object.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---c128bobject.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---c128cobject.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---image.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_barcode---barcode.php.html">		BarcodeObject
		</a><br>
			<a href="../com-tecnick-tcpdf/_tcpdf.php.html">		TCPDF
		</a><br>
			<a href="../com-tecnick-tcpdf/_config---tcpdf_config.php.html">		tcpdf_config.php
		</a><br>
			<a href="../com-tecnick-tcpdf/_unicode_data.php.html">		unicode_data.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../com-tecnick-tcpdf/BarcodeObject.html">BarcodeObject</a><br />
	    		<a href="../com-tecnick-tcpdf/C39Object.html">C39Object</a><br />
	    		<a href="../com-tecnick-tcpdf/C128AObject.html">C128AObject</a><br />
	    		<a href="../com-tecnick-tcpdf/C128BObject.html">C128BObject</a><br />
	    		<a href="../com-tecnick-tcpdf/C128CObject.html">C128CObject</a><br />
	    		<a href="../com-tecnick-tcpdf/I25Object.html">I25Object</a><br />
	    		<a href="../com-tecnick-tcpdf/TCPDF.html">TCPDF</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Procedural File: BarcodeObject</h1>
Source Location: /barcode/barcode.php<br /><br />

<br>
<br>

<div class="contents">
<h2>Classes:</h2>
<dt><a href="../com-tecnick-tcpdf/BarcodeObject.html">BarcodeObject</a></dt>
	<dd>Barcode Render Class for PHP using the GD graphics library.</dd>
</div><br /><br />

<h2>Page Details:</h2>
Barcode Render Class for PHP using the GD graphics library.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Karim Mribti, Nicola Asuni</td>
  </tr>
  <tr>
    <td><b>version:</b>&nbsp;&nbsp;</td><td>0.0.8a 2001-04-01 (original code)</td>
  </tr>
  <tr>
    <td><b>since:</b>&nbsp;&nbsp;</td><td>2001-03-25</td>
  </tr>
  <tr>
    <td><b>name:</b>&nbsp;&nbsp;</td><td>BarcodeObject</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/copyleft/lesser.html">LGPL</a></td>
  </tr>
</table>
</div>
<br /><br />
<br /><br />
<br /><br />
  <hr />
	<a name="defineBCD_C39_NARROW_BAR"></a>
	<h3>BCD_C39_NARROW_BAR <span class="smalllinenumber">[line 166]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_C39_NARROW_BAR = 1</code>
    </td></tr></table>
    </td></tr></table>

    narrow bar option<br /><br /><p>(only for c39 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_C39_WIDE_BAR"></a>
	<h3>BCD_C39_WIDE_BAR <span class="smalllinenumber">[line 172]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_C39_WIDE_BAR = 2</code>
    </td></tr></table>
    </td></tr></table>

    wide bar option<br /><br /><p>(only for c39 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_C128_BAR_1"></a>
	<h3>BCD_C128_BAR_1 <span class="smalllinenumber">[line 180]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_C128_BAR_1 = 1</code>
    </td></tr></table>
    </td></tr></table>

    set type 1 bar<br /><br /><p>(only for c128 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_C128_BAR_2"></a>
	<h3>BCD_C128_BAR_2 <span class="smalllinenumber">[line 186]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_C128_BAR_2 = 2</code>
    </td></tr></table>
    </td></tr></table>

    set type 2 bar<br /><br /><p>(only for c128 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_C128_BAR_3"></a>
	<h3>BCD_C128_BAR_3 <span class="smalllinenumber">[line 192]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_C128_BAR_3 = 3</code>
    </td></tr></table>
    </td></tr></table>

    set type 3 bar<br /><br /><p>(only for c128 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_C128_BAR_4"></a>
	<h3>BCD_C128_BAR_4 <span class="smalllinenumber">[line 198]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_C128_BAR_4 = 4</code>
    </td></tr></table>
    </td></tr></table>

    set type 4 bar<br /><br /><p>(only for c128 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_BACKGROUND_COLOR"></a>
	<h3>BCD_DEFAULT_BACKGROUND_COLOR <span class="smalllinenumber">[line 97]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_BACKGROUND_COLOR = 0xFFFFFF</code>
    </td></tr></table>
    </td></tr></table>

    set default background color<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_FONT"></a>
	<h3>BCD_DEFAULT_FONT <span class="smalllinenumber">[line 122]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_FONT = 5</code>
    </td></tr></table>
    </td></tr></table>

    set default font<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_FOREGROUND_COLOR"></a>
	<h3>BCD_DEFAULT_FOREGROUND_COLOR <span class="smalllinenumber">[line 102]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_FOREGROUND_COLOR = 0x000000</code>
    </td></tr></table>
    </td></tr></table>

    set default foreground color<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_HEIGHT"></a>
	<h3>BCD_DEFAULT_HEIGHT <span class="smalllinenumber">[line 117]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_HEIGHT = 120</code>
    </td></tr></table>
    </td></tr></table>

    set default height<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_MAR_Y1"></a>
	<h3>BCD_DEFAULT_MAR_Y1 <span class="smalllinenumber">[line 134]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_MAR_Y1 = 0</code>
    </td></tr></table>
    </td></tr></table>

    set default margin<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_MAR_Y2"></a>
	<h3>BCD_DEFAULT_MAR_Y2 <span class="smalllinenumber">[line 139]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_MAR_Y2 = 0</code>
    </td></tr></table>
    </td></tr></table>

    set default margin<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_STYLE"></a>
	<h3>BCD_DEFAULT_STYLE <span class="smalllinenumber">[line 107]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_STYLE = BCS_BORDER|BCS_ALIGN_CENTER|BCS_IMAGE_PNG</code>
    </td></tr></table>
    </td></tr></table>

    set default style options<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_TEXT_OFFSET"></a>
	<h3>BCD_DEFAULT_TEXT_OFFSET <span class="smalllinenumber">[line 144]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_TEXT_OFFSET = 2</code>
    </td></tr></table>
    </td></tr></table>

    set default text offset<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_WIDTH"></a>
	<h3>BCD_DEFAULT_WIDTH <span class="smalllinenumber">[line 112]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_WIDTH = 460</code>
    </td></tr></table>
    </td></tr></table>

    set default width<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_DEFAULT_XRES"></a>
	<h3>BCD_DEFAULT_XRES <span class="smalllinenumber">[line 127]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_DEFAULT_XRES = 2</code>
    </td></tr></table>
    </td></tr></table>

    st default horizontal resolution<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_I25_NARROW_BAR"></a>
	<h3>BCD_I25_NARROW_BAR <span class="smalllinenumber">[line 152]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_I25_NARROW_BAR = 1</code>
    </td></tr></table>
    </td></tr></table>

    narrow bar option<br /><br /><p>(only for I25 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCD_I25_WIDE_BAR"></a>
	<h3>BCD_I25_WIDE_BAR <span class="smalllinenumber">[line 158]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCD_I25_WIDE_BAR = 2</code>
    </td></tr></table>
    </td></tr></table>

    wide bar option<br /><br /><p>(only for I25 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_ALIGN_CENTER"></a>
	<h3>BCS_ALIGN_CENTER <span class="smalllinenumber">[line 51]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_ALIGN_CENTER = 4</code>
    </td></tr></table>
    </td></tr></table>

    option: center barcode<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_ALIGN_LEFT"></a>
	<h3>BCS_ALIGN_LEFT <span class="smalllinenumber">[line 56]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_ALIGN_LEFT = 8</code>
    </td></tr></table>
    </td></tr></table>

    option: align left<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_ALIGN_RIGHT"></a>
	<h3>BCS_ALIGN_RIGHT <span class="smalllinenumber">[line 61]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_ALIGN_RIGHT = 16</code>
    </td></tr></table>
    </td></tr></table>

    option: align right<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_BORDER"></a>
	<h3>BCS_BORDER <span class="smalllinenumber">[line 41]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_BORDER = 1</code>
    </td></tr></table>
    </td></tr></table>

    option: generate barcode border<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_DRAW_TEXT"></a>
	<h3>BCS_DRAW_TEXT <span class="smalllinenumber">[line 76]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_DRAW_TEXT = 128</code>
    </td></tr></table>
    </td></tr></table>

    option: draw text<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_I25_DRAW_CHECK"></a>
	<h3>BCS_I25_DRAW_CHECK <span class="smalllinenumber">[line 92]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_I25_DRAW_CHECK = 2048</code>
    </td></tr></table>
    </td></tr></table>

    option: draw check<br /><br /><p>(only for I25 code)</p><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_IMAGE_JPEG"></a>
	<h3>BCS_IMAGE_JPEG <span class="smalllinenumber">[line 66]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_IMAGE_JPEG = 32</code>
    </td></tr></table>
    </td></tr></table>

    option: generate JPEG image<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_IMAGE_PNG"></a>
	<h3>BCS_IMAGE_PNG <span class="smalllinenumber">[line 71]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_IMAGE_PNG = 64</code>
    </td></tr></table>
    </td></tr></table>

    option: generate PNG image<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_REVERSE_COLOR"></a>
	<h3>BCS_REVERSE_COLOR <span class="smalllinenumber">[line 86]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_REVERSE_COLOR = 512</code>
    </td></tr></table>
    </td></tr></table>

    option: reverse color<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_STRETCH_TEXT"></a>
	<h3>BCS_STRETCH_TEXT <span class="smalllinenumber">[line 81]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_STRETCH_TEXT = 256</code>
    </td></tr></table>
    </td></tr></table>

    option: stretch text<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
  <hr />
	<a name="defineBCS_TRANSPARENT"></a>
	<h3>BCS_TRANSPARENT <span class="smalllinenumber">[line 46]</span></h3>
	<div class="tags">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>BCS_TRANSPARENT = 2</code>
    </td></tr></table>
    </td></tr></table>

    option: use transparent background<br /><br />    <br />
		</div>
	<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
<br />

        <div class="credit">
		    <hr />
		    Documentation generated on Mon, 21 Apr 2008 09:45:39 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>